using System;
using Sce.PlayStation.Core;
using Sce.PlayStation.Core.Graphics;

namespace Nyanimals
{
	public struct tUniqueVertex
	{
		public Vector3 Position;
		public Vector3 Normal;
		public Vector3 Tangent;
		public Vector2 UV;
		
		public static VertexFormat[] GetFormat()
		{
			VertexFormat[] format = new VertexFormat[4];
			format[0] = VertexFormat.Float3; // position
			format[1] = VertexFormat.Float3; // normal
			format[2] = VertexFormat.Float3; // tangent
			format[3] = VertexFormat.Float2; // UVs
			
			return format;
		}
	}
}

